//
// Created by @author 吴子昂 on 2025/11/4
//

#ifndef ARMOURRECOGNIZER_RECOGNIZER_H
#define ARMOURRECOGNIZER_RECOGNIZER_H
#include <opencv2/opencv.hpp>
#include <opencv2/core/ocl.hpp>
#include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
using namespace cv;

class recognizer
{
public:
    recognizer();
    ~recognizer();
    vector<vector<Point>> filterContours(const vector<vector<Point>>& contours, int keepN, double minArea);
    Rect getCommonMinRect(const vector<vector<Point>>& contours);
    vector<Point> getConvexHullQuadrilateral(const vector<Point>& points);
    int getStructure(const Mat& image, Mat frame);
private:

};


#endif //ARMOURRECOGNIZER_RECOGNIZER_H